<template>
    <div>
        <bortherView v-if="loading" :id="id" @goBack="goBack"></bortherView>
    </div>
</template>

<script>
import bortherView from './components/views.vue'
export default {
    layout: 'admin',
    components:{
        bortherView  
    },
    head() {
        return {
            title: '小哥详情' 
        }
    },
    data() {
        return {
            id: 0,
            loading: false
        }
    },
    mounted() {
        this.id = this.$route.query.id
        this.loading = true
    },
    methods: {
        goBack(){
            window.close();
        }
    }
}
</script>

<style lang="scss" scoped>

</style>
